package cn.jx.asc.user.pojo;

import java.util.Date;
import java.util.List;

public class Group {
    private Integer groupId;

    private String groupName;

    private String croupType;

    private Date plantTime;

    private Integer regionId;

    private Region region;

    private Sensor sensor;

    private List<Valve> valveList;

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getCroupType() {
        return croupType;
    }

    public void setCroupType(String croupType) {
        this.croupType = croupType;
    }

    public Date getPlantTime() {
        return plantTime;
    }

    public void setPlantTime(Date plantTime) {
        this.plantTime = plantTime;
    }

    public Integer getRegionId() {
        return regionId;
    }

    public void setRegionId(Integer regionId) {
        this.regionId = regionId;
    }

    public Region getRegion() {
        return region;
    }

    public void setRegion(Region region) {
        this.region = region;
    }

    public Sensor getSensor() {
        return sensor;
    }

    public void setSensor(Sensor sensor) {
        this.sensor = sensor;
    }

    public List<Valve> getValveList() {
        return valveList;
    }

    public void setValveList(List<Valve> valveList) {
        this.valveList = valveList;
    }

    @Override
    public String toString() {
        return "Group{" +
                "groupId=" + groupId +
                ", groupName='" + groupName + '\'' +
                ", croupType='" + croupType + '\'' +
                ", plantTime=" + plantTime +
                ", regionId=" + regionId +
                ", region=" + region +
                ", sensor=" + sensor +
                ", valveList=" + valveList +
                '}';
    }
}